package com.design.designmode.action.command;

/**
 * 请求者
 * hxl
 *
 * @since 2023-04-17
 */
public class Invoker {
    private Command command;

    public void setCommand(Command command) {
        this.command = command;
    }

    public void call() {
        command.execute();
    }
}
